﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.StoreManagement
{
    /// <summary>
    /// 合格证入库
    /// </summary>
    public  class NewCertificateOutput
    {
        /// <summary>
        /// 产品图号
        /// </summary>
        public string ProductDrawingNo { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string Batch { get; set; }

        /// <summary>
        /// 合格证号任务
        /// </summary>
        public string QualifiedTaskNumber { get; set; }
        /// <summary>
        /// 阶段标记
        /// </summary>
        public string StageMark { get; set; }

        /// <summary>
        /// 型号(产品代号)
        /// </summary>
        public string ProductCode { get; set; }

        /// <summary>
        /// 发次
        /// </summary>
        public string SendTime { get; set; }

        /// <summary>
        /// 物料类别
        /// </summary>
        public string MaterialsNodeDesc { get; set; }


        /// <summary>
        /// 对应物料细分类别
        /// </summary>
        public string MaterialCategoryDesc { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string Module { get; set; }

        /// <summary>
        /// 有效期止
        /// </summary> 
        public string ExpirationDate { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 储位
        /// </summary>
        public string BinLocation { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }

        /// <summary>
        /// 产品编号(件号)
        /// </summary>
        public string ProductNumber { get; set; }

        /// <summary>
        /// 特殊记载
        /// </summary>
        public string SpecialRecords { get; set; }
        public List<CertificateContent> CertificateContents { get; set; }


    }

    public class CertificateContent {

        public Guid StockContentId { get; set; }

        /// <summary>
        /// 产品编号(件号)
        /// </summary>
        public string ProductNumber { get; set; }

        public string OutboundStateDesc { get; set; }


        public bool IsCheck { get; set; }

    }
}
